package org.example.tree.domain;

import java.util.List;

public class Two {
    private String two;
    private List<Three> threeList;

    @Override
    public String toString() {
        return "Two{" +
                "two='" + two + '\'' +
                ", threeList=" + threeList +
                '}';
    }

    public String getTwo() {
        return two;
    }

    public void setTwo(String two) {
        this.two = two;
    }

    public List<Three> getThreeList() {
        return threeList;
    }

    public void setThreeList(List<Three> threeList) {
        this.threeList = threeList;
    }
}
